.class Lcom/waiqin365/lightwork/directory/q;
.super Ljava/lang/Thread;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;

.field private b:Landroid/os/Handler;


# direct methods
.method public constructor <init>(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;Landroid/os/Handler;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/directory/q;->a:Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    iput-object p2, p0, Lcom/waiqin365/lightwork/directory/q;->b:Landroid/os/Handler;

    return-void
.end method

.method private a(Z)V
    .locals 2

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    if-eqz p1, :cond_1

    const/4 v1, 0x1

    iput v1, v0, Landroid/os/Message;->what:I

    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/q;->b:Landroid/os/Handler;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/q;->b:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :cond_0
    return-void

    :cond_1
    const/4 v1, 0x0

    iput v1, v0, Landroid/os/Message;->what:I

    goto :goto_0
.end method


# virtual methods
.method public run()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/q;->a:Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/q;->a:Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a(Lcom/waiqin365/lightapp/kehu/share/a/a;)Ljava/util/List;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;Ljava/util/List;)Ljava/util/List;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/q;->a:Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;

    invoke-static {v0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->b(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/waiqin365/lightwork/directory/q;->a(Z)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightwork/directory/q;->a(Z)V

    goto :goto_0
.end method
